/*
 * Copyright 2020 tu.cn All right reserved. This software is the
 * confidential and proprietary information of tu.cn ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Tu.cn
 */
package com.onedec.message.serviceImpl;

import com.onedec.message.entity.OnedecMsgGroup;
import com.onedec.message.mapper.OnedecMsgGroupMapper;
import com.onedec.message.service.MsgGroupService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 31014
 * @date 2020/7/13 11:57
 */
@Service
public class MsgGroupServiceImpl implements MsgGroupService {
    @Resource
    OnedecMsgGroupMapper onedecMsgGroupMapper;

    public List<OnedecMsgGroup> selectGroupByEmp(Integer eId) {
        final List<OnedecMsgGroup> groups = onedecMsgGroupMapper.selectByEmp(eId);
        return groups;
    }

}